package main;

import processing.core.PApplet;
import processing.core.PImage;

public class LoadImages extends PApplet {


    // Declare var pimages.
    PImage pImage;

    @Override
    public void settings() {
        size(1920, 1200);
    }

    @Override
    public void setup() {
        pImage = loadImage("C:\\Users\\Hyper\\Pictures\\land.jpg");
    }

    @Override
    public void draw() {
        image(pImage, 0, 0);
        image(pImage, 0, height/ 2f, pImage.width/2f, pImage.height/2f);
    }
}
